#include <qtextcodec.h>

QTextCodec* gbk_codec = QTextCodec::codecForName("GBK");
QString un_utf8(const char*ChineseString)
{
	return gbk_codec->toUnicode(ChineseString);
}
QTextCodec* utf8_codec = QTextCodec::codecForName("utf-8");
QString un_gbk(const char*ChineseString)
{
	return utf8_codec->toUnicode(ChineseString);
}
